package com.woniuxy.dao;

import com.woniuxy.pojo.Car;
import com.woniuxy.pojo.CarAmount;
import com.woniuxy.pojo.CarAmountTable;
import com.woniuxy.pojo.CarTotalAmount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CarAmountMapper {
    List<CarAmount> selectById(@Param("carId") int carId, @Param("carAmountTables") List<CarAmountTable> carAmountTables);

    List<Car> selectAllCars();

    List<CarTotalAmount> selectAll(@Param("carAmountTables") List<CarAmountTable> carAmountTables);
}